<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace AlibabaCloud\Client\Traits;

trait RequestTrait
{
    public static function appendUserAgent($name, $value)
    {
        \AlibabaCloud\Client\Filter\Filter::name($name);
        \AlibabaCloud\Client\Filter\Filter::value($value);
        \AlibabaCloud\Client\Request\UserAgent::append($name, $value);
    }
    public static function withUserAgent(array $userAgent)
    {
        \AlibabaCloud\Client\Request\UserAgent::with($userAgent);
    }
    public static function rpcRequest(array $options = [])
    {
        return self::rpc($options);
    }
    public static function rpc(array $options = [])
    {
        return new \AlibabaCloud\Client\Request\RpcRequest($options);
    }
    public static function roaRequest(array $options = [])
    {
        return self::roa($options);
    }
    public static function roa(array $options = [])
    {
        return new \AlibabaCloud\Client\Request\RoaRequest($options);
    }
}

?>